import Vue from 'vue'
import App from './App.vue'
import router from '../../airport_visualization/src/router'

// 导入全局样式
import './assets/css/global.less'

import './plugins/element.js'

import './plugins/flexible'

import './assets/alibaba_icon/iconfont.css'

// 导入axios
import axios from 'axios'
// 导入请求根路径
axios.defaults.baseURL = 'https://www.liulongbin.top:8888/api/private/v1/'
// 挂载axios到Vue原形上,挂载后可全局访问 this.$http
Vue.prototype.$http = axios

import * as echarts from 'echarts'
// 挂载echarts到Vue原形上,挂载后可全局访问 this.$echarts
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
